.class Lcom/android/inputmethod/latin/VlingoVoiceManager$4;
.super Lcom/vlingo/client/asr/service/IVLRecognitionListener$Stub;
.source "VlingoVoiceManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/android/inputmethod/latin/VlingoVoiceManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;


# direct methods
.method constructor <init>(Lcom/android/inputmethod/latin/VlingoVoiceManager;)V
    .locals 0
    .parameter

    .prologue
    .line 330
    iput-object p1, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    invoke-direct {p0}, Lcom/vlingo/client/asr/service/IVLRecognitionListener$Stub;-><init>()V

    return-void
.end method


# virtual methods
.method public onBeginningOfSpeech()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 335
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mSpeechEnded:Z

    .line 336
    return-void
.end method

.method public onBufferReceived([B)V
    .locals 0
    .parameter "buffer"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 328
    return-void
.end method

.method public onEndOfSpeech()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 315
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mSpeechEnded:Z

    .line 316
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v0, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$4;

    invoke-direct {v1, p0}, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$4;-><init>(Lcom/android/inputmethod/latin/VlingoVoiceManager$4;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 322
    return-void
.end method

.method public onError(I)V
    .locals 1
    .parameter "error"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 307
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    invoke-virtual {v0, p1}, Lcom/android/inputmethod/latin/VlingoVoiceManager;->onError(I)V

    .line 308
    return-void
.end method

.method public onReadyForSpeech(Landroid/os/Bundle;)V
    .locals 2
    .parameter "noiseParams"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 286
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v0, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$2;

    invoke-direct {v1, p0}, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$2;-><init>(Lcom/android/inputmethod/latin/VlingoVoiceManager$4;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 291
    return-void
.end method

.method public onResults(Ljava/util/List;J)V
    .locals 4
    .parameter
    .parameter "key"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/vlingo/client/asr/service/VLRecognitionResult;",
            ">;J)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 273
    .local p1, results:Ljava/util/List;,"Ljava/util/List<Lcom/vlingo/client/asr/service/VLRecognitionResult;>;"
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v0, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mContext:Lcom/android/inputmethod/latin/LatinIME;

    iget-object v1, v0, Lcom/android/inputmethod/latin/LatinIME;->mHandler:Landroid/os/Handler;

    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v0, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mContext:Lcom/android/inputmethod/latin/LatinIME;

    iget-object v2, v0, Lcom/android/inputmethod/latin/LatinIME;->mHandler:Landroid/os/Handler;

    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v0, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mContext:Lcom/android/inputmethod/latin/LatinIME;

    const/4 v3, 0x3

    const/4 v0, 0x0

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vlingo/client/asr/service/VLRecognitionResult;

    iget-object v0, v0, Lcom/vlingo/client/asr/service/VLRecognitionResult;->mText:Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 274
    iget-object v0, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v0, v0, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$1;

    invoke-direct {v1, p0}, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$1;-><init>(Lcom/android/inputmethod/latin/VlingoVoiceManager$4;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 279
    return-void
.end method

.method public onRmsChanged(F)V
    .locals 0
    .parameter "rmsdB"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 265
    return-void
.end method

.method public onStatusMessage(Ljava/lang/String;)V
    .locals 3
    .parameter "message"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 298
    move-object v0, p1

    .line 299
    .local v0, fMsg:Ljava/lang/String;
    iget-object v1, p0, Lcom/android/inputmethod/latin/VlingoVoiceManager$4;->this$0:Lcom/android/inputmethod/latin/VlingoVoiceManager;

    iget-object v1, v1, Lcom/android/inputmethod/latin/VlingoVoiceManager;->mHandler:Landroid/os/Handler;

    new-instance v2, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$3;

    invoke-direct {v2, p0, v0}, Lcom/android/inputmethod/latin/VlingoVoiceManager$4$3;-><init>(Lcom/android/inputmethod/latin/VlingoVoiceManager$4;Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 304
    return-void
.end method
